build: Fix build with sysprof-capture but without sysprof
authorBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2021 04:05:42 +0000 (06:05 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2021 07:41:55 +0000 (09:41 +0200)
tests/meson.build

index 9acf8842310db7492b07b217f9b5f5b6becb26e4..ede335a15e7270166b74146dddb6f109e18ec858 100644 (file)
@@ -141,7 +141,7 @@ foreach t: gtk_tests
   )
 endforeach
 
-if profiler_enabled
+if libsysprof_dep.found()
   executable('testperf',
     sources: 'testperf.c',
     dependencies: [libsysprof_dep, platform_gio_dep, libm],